package com.black.platform.codeType.vo;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * @author linwenfeng
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CodeTypeVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Object id;
    private String label;
    private List<CodeTypeVo> children = null;
}
